Tested lxml/libiconv relink recipe (local Windows x64)
===================================================
Inputs: filtered lxml 6.1.3 source, winlibs libiconv pinned source commit, and
lxml-6.1.3-pinned-native-build-inputs.zip. The latter contains exact upstream
libxml2 2.11.9, libxslt 1.1.45, zlib 1.3.2 win64 include/static libraries and
their provenance SHA256/URLs. These are build inputs, not additional app runtime.

Tested tools: CPython3.12.14 x64, MSVC v14314.44.35207, WindowsSDK10.0.26100.0,
setuptools84.0.0; no Cython regeneration required (generated C is in lxml sdist).
In an x64 Visual Studio developer command prompt:
1. Extract all third-party sources/build inputs into a writable directory.
2. Modify libiconv source as desired while preserving compatible interfaces.
3. Build MSVC17/libiconv_static/libiconv_static.vcxproj:
   MSBuild.exe <project> /p:Configuration=Release /p:Platform=x64
   /p:PlatformToolset=v143 /p:WindowsTargetPlatformVersion=10.0
   Set OutDir/IntDir to your own fresh build paths. Preserve LGPL notices.
4. Copy the produced lib/libiconv_a.lib to a build-input directory as iconv_a.lib.
5. Set LXML_STATIC_INCLUDE_DIRS (semicolon-separated) to:
   libiconv/source/include;libxml2/include;libxslt/include;zlib/include
6. Set LXML_STATIC_LIBRARY_DIRS to the corresponding four library directories.
7. Set LXML_STATIC_CFLAGS=/DLIBXML_STATIC /DLIBXSLT_STATIC /DLIBEXSLT_STATIC
8. In the filtered lxml source run with CPython3.12 x64:
   python setup.py build_ext --inplace --static --without-cython
   Do not set STATICBUILD or --static-deps: this test used the pinned local inputs.
9. Close the app. Back up _internal/lxml and replace the seven generated .pyd
   files at the same relative module paths, preserving CPython3.12/x64 ABI.
10. Restart. The private application EXE/source need not be rebuilt or disclosed.
    Restore your backup to revert the library modification.

The local test added a diagnostic log to iconv_open, rebuilt this entire set,
loaded it in the real frozen app, exercised Windows-1251 conversion and all
conversion/GUI fixtures, then restored the stock set in that same test directory.
Modified native code and diagnostic logs are not shipped as production runtime.
This proves the tested compatible replacement path; arbitrary incompatible
modifications and every possible toolchain are not guaranteed.
